﻿using System;
namespace SharpObjects.SearchEngine.Common.Search
{
    [Serializable]
    public class TermVectorItem : ITermVectorItem
    {
        public TermVectorItem()
        {
            this.Term = string.Empty;
            this.Score = 1.0;
        }

        #region ITermVectorItem Members

        public string Term { get; set; }
        public double Score { get; set; }

        #endregion

        public override string ToString()
        {
            return string.Format("{0}[{1}]", Term, Score);
        }
    }
}
